.class final Lcom/baidu/crabsdk/a/f;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic at:Lcom/baidu/crabsdk/a/e;


# direct methods
.method constructor <init>(Lcom/baidu/crabsdk/a/e;)V
    .locals 0

    iput-object p1, p0, Lcom/baidu/crabsdk/a/f;->at:Lcom/baidu/crabsdk/a/e;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 2

    invoke-static {}, Lcom/baidu/crabsdk/b/n;->E()Ljava/lang/String;

    move-result-object v0

    const-string v1, "NONE"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_4

    const-string v1, "UNKNOWN"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_0

    :cond_0
    const-string v1, "WIFI"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v0, p0, Lcom/baidu/crabsdk/a/f;->at:Lcom/baidu/crabsdk/a/e;

    invoke-static {v0}, Lcom/baidu/crabsdk/a/e;->a(Lcom/baidu/crabsdk/a/e;)V

    return-void

    :cond_1
    sget-boolean v1, Lcom/baidu/crabsdk/a;->s:Z

    if-eqz v1, :cond_2

    const-string v0, "network is not wifi, and UPLOAD_CRASH_ONLY_WIFI is true!"

    invoke-static {v0}, Lcom/baidu/crabsdk/c/a;->u(Ljava/lang/String;)I

    return-void

    :cond_2
    const-string v1, "MOBILE"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string v0, "upload without wifi!"

    invoke-static {v0}, Lcom/baidu/crabsdk/c/a;->u(Ljava/lang/String;)I

    iget-object v0, p0, Lcom/baidu/crabsdk/a/f;->at:Lcom/baidu/crabsdk/a/e;

    invoke-static {v0}, Lcom/baidu/crabsdk/a/e;->a(Lcom/baidu/crabsdk/a/e;)V

    return-void

    :cond_3
    const-string v0, "network is not wifi!"

    invoke-static {v0}, Lcom/baidu/crabsdk/c/a;->u(Ljava/lang/String;)I

    return-void

    :cond_4
    :goto_0
    const-string v0, "network is not available!"

    invoke-static {v0}, Lcom/baidu/crabsdk/c/a;->u(Ljava/lang/String;)I

    return-void
.end method
